﻿using System;
using System.Collections.Generic;
using System.Text;
using DevExpress.Xpo;
using DevExpress.Persistent.Base;
using System.ComponentModel;

namespace FeatureCenter.Module.Reports {
    [VisibleInReports]
    public class SubreportDemoMasterObject : NamedBaseObject{
        private int masterId;
        public SubreportDemoMasterObject(Session session)
            : base(session) { }
        public int MasterId {
            get { return masterId; }
            set { SetPropertyValue("MasterId", ref masterId, value); }
        }
    }
    [VisibleInReports]
    public class SubreportDemoDetailObject : NamedBaseObject {
        private int masterId;
        public SubreportDemoDetailObject(Session session)
            : base(session) {

        }
        public SubreportDemoDetailObject(Session session, string name)
            : base(session, name) {

        }
        public int MasterId {
            get { return masterId; }
            set { SetPropertyValue("MasterId", ref masterId, value); }
        }
    }
}
